/* 
 * File:   Action.cpp
 * Author: amouro-m
 * 
 * Created on 31 mai 2010, 10:40
 */

#include "Action.h"

Action::Action(Computable* item, QListWidget* parent):
QListWidgetItem(item->print(), parent, 0),
_item(item)
{
    this->setText(_item->print());
}

Action::~Action() {}

Computable*
Action::get_item() const
{
    return _item;
}